package task02;

public class PhoneDemo {
    public static void main(String[] args) {
        Phone p1=new Phone();

      //  p1.brand="iphone";

        p1.setBrand("iphone");
        String brand=p1.getBrand();
        System.out.println(brand);

      //  p1.price=6999;

        p1.setPrice(6999);
        System.out.println(+p1.getPrice());

      //  p1.color="black";

        p1.setColor("black");
        String color=p1.getColor();
        System.out.println(color);

        p1.call();
        p1.play();
    }
}
